import Vue from 'vue';

//日历插件的匹配格式
Vue.filter("time", function(input) {
	if(input == null || input == undefined || input == "") return "";
	return new Date(parseInt(input)).toLocaleString().replace(/年|月/g, "-").replace(/日/g, " ") 
});
